package com.xxgc.qinglian.qinglianserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;
import org.dromara.autotable.annotation.ColumnComment;
import org.dromara.autotable.annotation.mysql.MysqlTypeConstant;
import org.dromara.mpe.autotable.annotation.ColumnId;
import org.dromara.mpe.autotable.annotation.Table;
import org.dromara.mpe.processer.annotation.AutoDefine;
import org.dromara.mpe.processer.annotation.AutoMapper;
import org.dromara.mpe.processer.annotation.AutoRepository;

@AutoDefine
@AutoMapper
@AutoRepository
@Data
@Table(value = "qinglian_Timing", comment = "计时表")
public class TimingEntity {
    @ColumnComment("计时ID")
    @ColumnId(mode = IdType.AUTO, comment = "计时主键", type = MysqlTypeConstant.BIGINT, length = 32)
    private int timingId;

    @ColumnComment("项目ID")
    private int projectId;

    @ColumnComment("计时总时长")
    private int totalTime;

}
